import request from '@/utils/request'

export function addSubmit (params = {}) {
  return request({
    url: '/web/materials/addRecord',
    method: 'post',
    params
  })
}

export function deleteMaterial (params = {}) {
  return request({
    url: '/web/materials/delete',
    method: 'post',
    params
  })
}

export function getCategory (params = {}) {
  return request({
    url: '/web/materials/category',
    method: 'post',
    params
  })
}
